package com.designed.pattern.structural.decorate;

/**
 * @author yifei
 * @description 服饰类
 * @date 2024/1/2
 **/
public class Finery implements ICharacter {
    ICharacter iCharacter;

    public void decorate(ICharacter iCharacter) {
        this.iCharacter = iCharacter;
    }

    @Override
    public void show() {
        iCharacter.show();
    }
}
